<!--
 * @Author: chenyilin 609438328@qq.com
 * @Date: 2022-11-08 17:21:40
 * @Description: 
 * 
-->
<template>
  <div class="CustomFooter" :class="computedClass">中山七院-信息管理处大数据应用中心自研</div>
</template>

<script>
export default {

  name: "CustomFooter",
  components: {},
  props: {
    fixed: {
      type: Boolean,
      required: false
    },
  },
  data() {
    return {
    
    };
  },
  created() {
  },
  computed: {
    computedClass() {
      if (this.fixed) {
        return 'fixed-footer'
      } else {
        return ''
      }
    }
  },
  methods: {
  
  
   
  },
};
</script>
<style scoped lang="less" >
.CustomFooter{
    line-height: 40px;
    text-align: center;
    font-size: 12px;
    color: #666;
    font-weight: bold;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    background: white;
    padding-bottom: 5px;
  }
  .fixed-footer{
    position: fixed;
    z-index: 999;
    bottom:0;
  }
</style>
